package client.comm.baoding.api.bean

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

data class CateGoods(
    val goods_list: List<Goods>,
    val category_list: List<TypeInfo>
) {
    @Parcelize
    data class Goods(
        val create_time: String,
        val fees: String,
        val goods_id: String,
        val goods_img: String,
        val goods_status: Int,
        val name: String,
        val token: String,
        val old_price: String,
        val price: Double,
        var lpq_price: Double,//体验券
        val integral: Double,
        val priority: Int,
        val stock_c: Int,
        val sku_status: Int, // 1 就是供应链
        val sales: String,
        val sku: String,
        val goods_label: List<String>

        ) : Parcelable

    @Parcelize
    data class TypeInfo(
        val big_img: String?,
        val category_id: String,
        val create_time: String,
        val name: String,
        val name_info: String,//分类描述
        val priority: Int,
        val small_img: String?,
        val sub_list: List<Sub>,

        ) : Parcelable

    @Parcelize
    data class Sub(
        val big_img: String?,
        val category_id: String,
        val create_time: String,
        val name: String,
        val name_info: String,
        val priority: Int,
        val small_img: String?
    ) : Parcelable

}